home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The Atari Compendium
/
The Atari Compendium (Toad Computers) (1994).iso
/
files
/
prgtools
/
programm.ing
/
falcon
/
falclib.lzh
/
ROUTS
/
SAVEFILE.S
< prev
next >
Encoding:
Amiga
Atari
Commodore
DOS
FM Towns/JPY
Macintosh
Macintosh JP
Macintosh to JP
NeXTSTEP
RISC OS/Acorn
Shift JIS
UTF-8
Windows-1252 (detected)
Wrap
Text File
|
1994-08-12
|
378 b
|
32 lines
*
* SAVEFILE.S
*
* @savefile
*
* Saves data as a file.
*
* In a5.l=adr. till nollavslutat filnamn
* a6.l=source
* d7.l=fillängd
*
include gem.s
@savefile
move #0,-(sp) create file
move.l a5,-(sp)
@gemdos $3c,8
move d0,d6
move.l a6,-(sp) write
move.l d7,-(sp)
move d6,-(sp)
@gemdos $40,12
move d6,-(sp) close
@gemdos $3e,4
rts